Skip to content

Switch to Using ClawpackTestRunner for Testing#697

Open
mandli wants to merge 19 commits intoclawpack:masterfrom
mandli:switch-test-runner
Open

Switch to Using ClawpackTestRunner for Testing#697
mandli wants to merge 19 commits intoclawpack:masterfrom
mandli:switch-test-runner

Conversation

@mandli
Copy link
Member

@mandli mandli commented Mar 17, 2026

This PR aims to use the new testing framework now used in AMRClaw and Classic to run regression tests from clawutil's ClawpackTestRunner class. This switches everything over to using PyTest and as much functionality as possible from there.

Major goals for this particular PR is to use the same testing structure as was in AMRClaw and Classic, but change things minimally to get things working before moving onto to larger structural changes.

@mandli mandli force-pushed the switch-test-runner branch from f7ba443 to 4f7d6bb Compare March 17, 2026 15:27
mandli added 13 commits March 18, 2026 11:25
Also adds marks for test groupings and default set of tests to run.  This
also adds new regression test data for storm surge as the test has been
changed to be more robust and cover more of the package.  This also
includes depending on a local storm file rather than attempting to
download data (covered elsewhere in a Python unit test).
The plotting tests have been split into "smoke" tests (does it raise an
exception) and actual plotting tests that can be run on request.
Included some bug fixes in storm module for formats that are tested
but not used very often.  Need to come back to fix the IBTrACS test.
Note: test_dtopo_io has been marked as expected to fail with the measured
5e-4 discrepency noted.  This may be due to the precision being used by
default to write out the files but needs follow up.
Provides seperation of structure (plotting and writing of data) similar
to how other topotools tests are carried out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant